package com.jdrx.ocp.beans.dto.user;

import com.jdrx.ocp.beans.dto.UpdateBaseDTO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("更新用户密码参数")
@Data
@EqualsAndHashCode(callSuper = false)
public class UpdateUserPwdDTO extends UpdateBaseDTO {

    @ApiModelProperty(value = "登录账号")
    private String name;

    @ApiModelProperty(value = "用户密码" , required = true)
    private String pwd;

    @ApiModelProperty(value = "用户旧密码" , required = true)
    private String oldPwd;
}